<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace app\cpmjagent\model\finance;

/**
 * Description of RechargeModel
 *
 * @author SoChishun
 */
class RechargeModel extends \app\cpmjagent\model\AppbaseModel {

    protected $table = 't_finance_recharge';
    protected $autoWriteTimestamp = 'timestamp';

    public function getStatusTextAttr() {
        $value=$this->status;
        return 1 == $value ? '已支付' : '未支付';
    }

}
